<?php
include_once "db/ez_sql_core.php";
include_once "db/ez_sql_mysql.php";

//include_once "wxoauth2/function.php";

//ezSQL_mysql($dbuser='', $dbpassword='', $dbname='', $dbhost='localhost', $encoding='')

$db = new ezSQL_mysql('root','123456','xunlianri','localhost','utf-8');
 
// $db = new ezSQL_mysql('minisite','f4y5h8c2','minisite','rdsa7zrvqa7zrvq.mysql.rds.aliyuncs.com','utf-8');

 
function ajax_return($data)
{
		header("Content-Type:text/html; charset=utf-8");
        echo(json_encode($data));
        exit;
}

?>